
			<div class="tab-pane " id="wxapp">
				<div class="panel panel-default" role="tabpanel" style="">
					<div class="panel-heading">参数配置</div>
					<div class="panel-body" style="">

						<div class="form-group">
							<label class="col-sm-2 col-xs-12 control-label">采集手机号</label>
							<div class="col-sm-9 col-md-8 col-lg-8 col-xs-12">
								<label class="radio-inline">
									<input name="getmobile" value="0" {if $config['getmobile']==0} checked="checked"{/if} type="radio"> 关闭
								</label>
								<label class="radio-inline">
									<input name="getmobile" value="1" {if $config['getmobile']==1} checked="checked"{/if} type="radio"> 底部按扭获取
								</label>
								<label class="radio-inline">
									<input name="getmobile" value="2" {if $config['getmobile']==2} checked="checked"{/if} type="radio"> 弹窗登录获取(推荐)
								</label>
								<label class="radio-inline">
									<input name="getmobile" value="3" {if $config['getmobile']==3} checked="checked"{/if} type="radio"> 全屏登录获取
								</label>
								{if $system['auth_mode']==2}
								<label class="radio-inline">
									<input name="getmobile" value="4" {if $config['getmobile']==4} checked="checked"{/if} type="radio"> 借用授权
								</label>
								{/if}
								<span class="help-block">{php echo $_G['isSuperAdmin'] && (DOMAIN0 == "17.yixuan.net" || DOMAIN0 == "18.yixuan.net")?'采集手机号，仅对活动本地用户开放':'' ;}</span>

							</div>

						</div>
						{if $system['is_new_wxapp']==1 || $system['auth_mode']>0}
						<div class="form-group">
							<label class="col-sm-2 col-xs-12 control-label">采集头像+昵称</label>
							<div class="col-sm-9 col-md-8 col-lg-8 col-xs-12">
								<label class="radio-inline">
									<input name="getavatar" value="1" {if $config['getavatar']==1 || !$config['getavatar']} checked="checked"{/if} type="radio"> 底部按扭获取头像+表单昵称
								</label>
								<label class="radio-inline">
									<input name="getavatar" value="2" {if $config['getavatar']==2} checked="checked"{/if} type="radio"> 弹窗提示+弹窗授权(推荐)
								</label>
								<!--								<label class="radio-inline">-->
								<!--									<input name="getavatar" value="3" {if $config['getavatar']==3} checked="checked"{/if} type="radio"> 按钮仅获取头像-->
								<!--								</label>-->
								<label class="radio-inline">
									<input name="getavatar" value="4" {if $config['getavatar']==4} checked="checked"{/if} type="radio"> 底部按钮+弹窗授权
								</label>
							</div>
						</div>
						{else}
						<div class="form-group">
							<label class="col-sm-2 col-xs-12 control-label">采集头像+昵称</label>
							<div class="col-sm-9 col-md-8 col-lg-8 col-xs-12">
								<label class="radio-inline">
									<input name="getavatar" value="1" {if $config['getavatar']!=2} checked="checked"{/if} type="radio"> 底部按扭获取(推荐)
								</label>
								<label class="radio-inline">
									<input name="getavatar" value="2" {if $config['getavatar']==2} checked="checked"{/if} type="radio"> 弹窗登录获取{php echo $_G['isSuperAdmin'] && (DOMAIN0 == "17.yixuan.net" || DOMAIN0 == "18.yixuan.net")?'（仅限本地用户）':'' ;}
								</label>
							</div>
						</div>
						{/if}
						<div class="form-group">
							<label class="col-sm-2 col-xs-12 control-label">隐私协议</label>
							<div class="col-sm-9 col-md-8 col-lg-8 col-xs-12">
								<label class="radio-inline">
									<input name="private_deal_mode" value="0" {if $config['private_deal_mode']=='0'} checked="checked"{/if} type="radio"> 弹窗模式
								</label>
								<label class="radio-inline">
									<input name="private_deal_mode" value="1" {if !isset($config['private_deal_mode'])  || $config['private_deal_mode']=='1'} checked="checked"{/if} type="radio"> 隐藏模式
								</label>
							</div>
						</div>
						{if $system['is_lz_comment']=='1'}
						<div class="form-group">
							<label class="col-sm-2 col-xs-12 control-label">评论弹幕总开关</label>
							<div class="col-sm-9 col-md-8 col-lg-8 col-xs-12">
								<label class="radio-inline">
									<input name="comment_on_off" value="0" {if $config['comment_on_off']!=1} checked="checked"{/if} type="radio"> 关闭
								</label>
								<label class="radio-inline">
									<input name="comment_on_off" value="1" {if $config['comment_on_off']==1} checked="checked"{/if} type="radio"> 开启
								</label>
							</div>
						</div>
						{/if}


					</div>
				</div>

				<div class="panel panel-default" role="tabpanel" style="">
					<div class="panel-heading">模版消息</div>
					<div class="panel-body" style="">

						<div class="form-group">
							<label class="col-sm-2 col-xs-12 control-label">订阅位置</label>
							<div class="col-sm-9 col-md-8 col-lg-8 col-xs-12">
								<label class="radio-inline">
									<input name="mbxx_mode[]" type="checkbox" value="submit" {if (strstr($config['mbxx_mode'],"submit")!==false )}checked{/if}> 点击立即支付按扭
								</label>
								<label class="radio-inline">
									<input name="mbxx_mode[]" type="checkbox" value="bottom" {if (strstr($config['mbxx_mode'],"bottom")!==false )}checked{/if}> 点击底部按扭
								</label>
								<label class="radio-inline">
									<input name="mbxx_mode[]" type="checkbox" value="pay" {if (strstr($config['mbxx_mode'],"pay")!==false )}checked{/if}> 支付成功
								</label>

							</div>
						</div>
						{loop $mblist $item}
						<div class="form-group">
							<label class="col-sm-2 col-xs-12 control-label">{$item['name']}</label>
							<div class="col-sm-7 col-xs-12">
								<div class="input-group">
									<span class="input-group-addon">总订阅用户数</span>
									<input type="text" class="form-control"  placeholder="" value="{$item['total']}">
									<span class="input-group-addon">累计发送</span>
									<input type="text" class="form-control"  placeholder="" value="{$item['used']}">
									<span class="input-group-addon">今日发送</span>
									<input type="text" class="form-control"  placeholder="" value="{$item['today']}">
									<span class="input-group-addon">可发送</span>
									<input type="text" class="form-control"  placeholder="" value="{$item['count']}">
									{if $config['ishexiao']==1}
									<span class="input-group-addon">已核销</span>
									<input type="text" class="form-control"  placeholder="" value="{$item['hexiao']}">
									{/if}
								</div>
							</div>
							{if !$item['autosend']}
							<div class="col-sm-1">
								<a class="btn btn-info" href="{php echo createWebUrl('mbxx', array('op'=>'post','template_id'=>$item['template_id']));}">发送</a>
							</div>
							{else}
							<div class="col-sm-1">
								<div class="btn btn-default">自动</div>
							</div>
							{/if}
						</div>
						{/loop}
					</div>
				</div>
				{if $system['softmenu']!=1 && $system['is_mystery_boxes']!=1 && $system['is_mystery_boxes_feichi']!=1 && $system['ruanjian']!=10 || $system['is_mystery_boxes']==1 && $system['bottom_jiage']>0 }
				<div class="panel panel-default" role="tabpanel" style="">
					<div class="panel-heading">小程序底部按扭文字</div>
					<div class="panel-body" style="">
						<div class="form-group">
							<label class="col-sm-2 col-xs-12 control-label">单独购买文字</label>
							<div class="col-sm-8 col-xs-12">
								<input type="text" class="form-control"  placeholder="" name="formtextleftxcx"  value="{if empty($config['formtextleftxcx'])}￥#dan#br原价购买{else}{$config['formtextleftxcx']}{/if}">
								<span class="help-block">如:原价购买 全款购买 老会员专享 注：类似单独购买是不可以用的</span>
								<span class="help-block">以下几个按扭文字支持通配符:#br带表换行 #fee表示报名费 #dan表示单买价 #tuan表示拼团价</span>
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 col-xs-12 control-label">没有团报名按扭</label>
							<div class="col-sm-8 col-xs-12">

								<div class="input-group">
									<span class="input-group-addon">{if $system['bottom_jiage'] == '1' || $system['bottom_jiage'] == '2'}拼团①{else}发起拼团{/if}：</span>
									<input class="form-control" placeholder="默认为:立即报名" name="formtextcenterxcx" value="{if empty($config['formtextcenterxcx'])}￥#fee#br立即报名{else}{$config['formtextcenterxcx']}{/if}" type="text">
									{if $system['bottom_jiage'] == '1' || $system['bottom_jiage'] == '2'}
									<span class="input-group-addon">拼团②</span>
									<input class="form-control" placeholder="设置拼团价②此处生效" name="formtextcenter2xcx" value="{if empty($config['formtextcenter2xcx'])}￥#tuan#br3人团{else}{$config['formtextcenter2xcx']}{/if}" type="text">
									{/if}
									{if $system['bottom_jiage'] == '2'}
									<span class="input-group-addon">拼团③</span>
									<input class="form-control" placeholder="设置拼团价③此处生效" name="formtextcenter3xcx" value="{if empty($config['formtextcenter3xcx'])}￥#tuan#br5人团{else}{$config['formtextcenter3xcx']}{/if}" type="text">
									{/if}
								</div>
								<span class="help-block">如:立即报名 立即抢购 我要参团  如:￥#fee#br立即报名 如:3人团#br我要参团</span>
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 col-xs-12 control-label">有组团报名按扭</label>
							<div class="col-sm-8 col-xs-12">
								<div class="input-group">
									<span class="input-group-addon">新开团：</span>
									<input class="form-control" placeholder="默认为:我要开团" name="formtextcenternewxcx" value="{if empty($config['formtextcenternewxcx'])}￥#fee#br我要开团{else}{$config['formtextcenternewxcx']}{/if}" type="text">
									<span class="input-group-addon">加入团：</span>
									<input class="form-control" placeholder="默认为:加入TA的团" name="formtextrightxcx" value="{if empty($config['formtextrightxcx'])}￥#fee#br加入TA的团{else}{$config['formtextrightxcx']}{/if}" type="text">
								</div>
								<span class="help-block">如:加入TA的团  如:￥#fee#br加入TA的团 如:3人团#br加入TA的团</span>
								<span class="help-block">客户报名后分享给好友,好友打开会出现这2个按扭,一个是我要开团一个是加入TA的团</span>
							</div>
						</div>
					</div>
				</div>
				{/if}
			</div>

